﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace GetQuote.Web
{
    public partial class Products : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void ProductDataSource_Selecting(object sender, LinqDataSourceSelectEventArgs e)
        {
            var listProducts = new[] { 
                new {ProductId = 1,Name="Slatburst",Manufacturer="Hunter Douglas",Category="Arches",DisplayWH="36\"",Price="45.5", Link="ArchesDetail.aspx"},
                new {ProductId = 2,Name="King stock",Manufacturer="Hunter Douglas",Category="Arches",DisplayWH="36\"",Price="131.1",Link="ArchesDetail.aspx"},
                new {ProductId = 1,Name="2 ½\" Routless Basswood ShutterBlinds",Manufacturer="Hunter Douglas",Category="Horizontal Blinds",DisplayWH="36\" x 60\"",Price="100.5",Link="HorizontalDetail.aspx"},
                new {ProductId = 1,Name="CrownWood (Formerly known as Trends)",Manufacturer="Comfortex Window Fashions",Category="Horizontal Blinds",DisplayWH="36\" x 60\"",Price="25.5",Link="HorizontalDetail.aspx"},
                new {ProductId = 1,Name="Woven Wood - Roman Fold Shade - Series 100",Manufacturer="Hunter Douglas",Category="Shades",DisplayWH="36\" x 60\"",Price="62.15",Link="ShadesDetail.aspx"},
                new {ProductId = 1,Name="Roller Shades - Phifer Style: 3000 (14%)",Manufacturer="Hunter Douglas",Category="Arches",DisplayWH="36\" x 60\"",Price="55.5", Link="ArchesDetail.aspx"},
                new {ProductId = 1,Name="Lexwood - Advantage",Manufacturer="Hunter Douglas",Category="Shutter",DisplayWH="36\" x 60\"",Price="55",Link="ShutterDetail.aspx"},
                new {ProductId = 1,Name="Polycore Espress - Polycode",Manufacturer="Hunter Douglas",Category="Arches",DisplayWH="36\" x 60\"",Price="75.23",Link="ArchesDetail.aspx"},
                new {ProductId = 1,Name="Faux Arch",Manufacturer="Hunter Douglas",Category="Arches",DisplayWH="36\"",Price="35.5",Link="ArchesDetail.aspx"},
                new {ProductId = 1,Name="Fabric Verticals",Manufacturer="Hunter Douglas",Category="Vertical Blinds",DisplayWH="36\"",Price="45.5", Link="VerticalDetail.aspx"},
                new {ProductId = 2,Name="Faux Wood Vertical Blinds",Manufacturer="Hunter Douglas",Category="Vertical Blinds",DisplayWH="36\"",Price="131.1",Link="VerticalDetail.aspx"},
                new {ProductId = 1,Name="Operable Slaburst",Manufacturer="Hunter Douglas",Category="Arches",DisplayWH="36\"",Price="45.5",Link="ArchesDetail.aspx"},
                new {ProductId = 1,Name="Sunburst",Manufacturer="Hunter Douglas",Category="Arches",DisplayWH="36\"",Price="45.5",Link="ArchesDetail.aspx"},
                new {ProductId = 1,Name="King Stock",Manufacturer="Hunter Douglas",Category="Arches",DisplayWH="36\"",Price="45.5",Link="ArchesDetail.aspx"}
            };
            e.Result = listProducts;
        }
    }
}